package com.ben.multiple.poi.easy;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.io.Serializable;

/**
 * @author BenJin Yin
 * @date 2021/12/2
 */
@Data
public class AppWarnImport implements Serializable {
    private static final long serialVersionUID = 1L;
    @ExcelIgnore
    private Long id;

    @ExcelProperty("预警ID")
    @ColumnWidth(25)
    private String code;

    @ExcelProperty("劝阻方式")
    @ColumnWidth(25)
    private String dissuasionType;
    @ExcelProperty("是否接到诈骗电话、短信、登入诈骗网址")
    @ColumnWidth(30)
    private String dissuasionRecord;
    @ExcelProperty("预警结果")
    @ColumnWidth(25)
    private String dissuasion;
    @ExcelProperty("劝阻金额")
    @ColumnWidth(25)
    private String dissuasionMoney;

    @ExcelProperty("受骗金额")
    @ColumnWidth(25)
    private String deceivedAmount;
    @ExcelProperty("备注")
    @ColumnWidth(50)
    private String remark;

    @ExcelIgnore
    private Boolean error = false;
    @ExcelProperty("错误信息")
    @ColumnWidth(100)
    private String errorMsg;
}

